#include "Queue.h"
#include <stdio.h>
#include <stdlib.h>

int main(void) {
	Queue* q = queue_create();
	if (!q) {
		printf("Queue create failed\n");
		exit(1);
	}

	queue_push(q, 1);
	queue_push(q, 2);
	queue_push(q, 3);
	queue_push(q, 4);

	while (!queue_empty(q)) {
		E val = queue_peek(q);
		printf("%d ", val);
		queue_pop(q);
	}
	printf("\n");

	return 0;
}